/*
 * LevelGenerator.cpp
 *
 *  Created on: Dec 1, 2010
 *      Author: timmeh
 */

#include "LevelGenerator.h"
#include <iostream>
using namespace std;

namespace bo {

/**
 * Sets the factory to be used in the contructor
 */
LevelGenerator::LevelGenerator(AbstractFactory* fact) {
	this->fFact = fact;
}

LevelGenerator::~LevelGenerator() {
	// Stub
}

/**
 * Returns the used factory
 */
AbstractFactory* LevelGenerator::GetFact(){
	return this->fFact;
}

void LevelGenerator::SetFact(AbstractFactory* fact){
	this->fFact = fact;
}

/**
 * Creates a pointer to a standard level. In this case: 0, because we need the derived objects, not the base ones
 */
Level* LevelGenerator::CreateStandardLevel(const char* ballFileName, const char* paddleFileName, const char* breakFileName){
	return 0;
}

/**
 * Returns the scale of the level
 */
double LevelGenerator::GetScale(){
	return this->fScale;
}

}
